home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / riaf45ex.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  44.7 KB  |  1,559 lines

  1. *%
  2. *%  Core GPD file for Ricoh PCL5e printer
  3. *%    FileName: RIAF45EX.GPD
  4. *%    Created:  2000/06/01
  5. *%    Modified: 2001/12/06
  6. *%
  7. *%    Copyright (c) 1999 - 2001 Ricoh Co., Ltd.
  8. *%    All rights reserved.
  9. *%
  10. *GPDFileVersion: "1.202"
  11. *Include: "TTFSUB.GPD"
  12. *Include: "RIAF5MAC.GPD"
  13. *MasterUnits: PAIR(1200, 1200)
  14. *ResourceDLL: "RIAFRES.DLL"
  15. *PrinterType: PAGE
  16. *MaxCopies: 999
  17. *rcInstalledOptionNameID: 330       *%%% "Installed"
  18. *rcNotInstalledOptionNameID: 329    *%%% "Not Installed"
  19.  
  20. *%======== Memory ========
  21. *Feature: Memory
  22. {
  23.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  24.     *DefaultOption: 8192KB
  25.     *Option: 8192KB
  26.     {
  27.         *Name: "8MB"
  28.         *MemoryConfigKB: PAIR(8192, 6750)
  29.     }
  30. }
  31.  
  32. *%======== Finisher (custom feature) ========
  33. *Feature: Finisher
  34. {
  35.     *rcNameID: 287          *%%% "Finisher"
  36.     *FeatureType: PRINTER_PROPERTY
  37.     *DefaultOption: NotInstalled
  38.     *Option: NotInstalled
  39.     {
  40.         *rcNameID: 329
  41.         *Constraints: OutputBin.FinisherProofTray
  42.         *Constraints: OutputBin.FinisherShiftTray
  43.         *Constraints: Stapling.TopLeftSlant
  44.         *Constraints: Stapling.TopLeftVertical
  45.         *Constraints: Stapling.TopLeftHorizontal
  46.         *Constraints: Stapling.Top2
  47.         *Constraints: Stapling.Left2
  48.         *Constraints: Punching.Left
  49.         *Constraints: Punching.Top
  50.         *DisabledFeatures: LIST(Stapling)
  51.     }
  52.     *Option: Finisher1000
  53.     {
  54.         *rcNameID: 351          *%%% "Finisher 1000"
  55.         *Constraints: OutputBin.FinisherProofTray
  56.         *Constraints: Stapling.TopLeftVertical
  57.         *Constraints: Stapling.TopLeftHorizontal
  58.         *Constraints: Stapling.Top2
  59.         *Constraints: Stapling.Left2
  60.         *Constraints: Punching.Left
  61.         *Constraints: Punching.Top
  62.     }
  63.     *Option: Finisher3000
  64.     {
  65.         *rcNameID: 352          *%%% "Finisher 3000"
  66.         *Constraints: Punching.Left
  67.         *Constraints: Punching.Top
  68.     }
  69.     *Option: Finisher3000withPunchUnit
  70.     {
  71.         *rcNameID: 353          *%%% "Finisher 3000 with Punch Unit"
  72.     }
  73. }
  74.  
  75. *%======== Mailbox (custom feature) ========
  76. *Feature: Mailbox
  77. {
  78.     *rcNameID: 354          *%%% "Mailbox"
  79.     *FeatureType: PRINTER_PROPERTY
  80.     *DefaultOption: NotInstalled
  81.     *Option: NotInstalled
  82.     {
  83.         *rcNameID: 329
  84.         *Constraints: OutputBin.OutputBin1
  85.         *Constraints: OutputBin.OutputBin2
  86.         *Constraints: OutputBin.OutputBin3
  87.         *Constraints: OutputBin.OutputBin4
  88.         *Constraints: OutputBin.OutputBin5
  89.         *Constraints: OutputBin.OutputBin6
  90.         *Constraints: OutputBin.OutputBin7
  91.         *Constraints: OutputBin.OutputBin8
  92.         *Constraints: OutputBin.OutputBin9
  93.         *Constraints: OutputBin.MailboxProofTray
  94.     }
  95.     *Option: Installed
  96.     {
  97.         *rcNameID: 330
  98.     }
  99. }
  100. *InvalidCombination: LIST(Finisher.Finisher1000, Mailbox.Installed)
  101.  
  102. *%======== External Output Tray (custom feature) ========
  103. *Feature: ExternalTray
  104. {
  105.     *rcNameID: 279          *%%% "External Tray"
  106.     *FeatureType: PRINTER_PROPERTY
  107.     *DefaultOption: NotInstalled
  108.     *Option: NotInstalled
  109.     {
  110.         *rcNameID: 329
  111.         *Constraints: OutputBin.ExternalTray
  112.     }
  113.     *Option: Installed
  114.     {
  115.         *rcNameID: 330
  116.     }
  117. }
  118. *InvalidCombination: LIST(Finisher.Finisher1000, ExternalTray.Installed)
  119. *InvalidCombination: LIST(Finisher.Finisher3000, ExternalTray.Installed)
  120. *InvalidCombination: LIST(Finisher.Finisher3000withPunchUnit, ExternalTray.Installed)
  121. *InvalidCombination: LIST(Mailbox.Installed, ExternalTray.Installed)
  122.  
  123. *%======== Inner Output Tray2 (custom feature) ========
  124. *Feature: InnerTray2
  125. {
  126.     *rcNameID: 356          *%%% "Inner Tray 2"
  127.     *FeatureType: PRINTER_PROPERTY
  128.     *DefaultOption: NotInstalled
  129.     *Option: NotInstalled
  130.     {
  131.         *rcNameID: 329
  132.         *Constraints: OutputBin.InnerTray2
  133.     }
  134.     *Option: Installed
  135.     {
  136.         *rcNameID: 330
  137.     }
  138. }
  139.  
  140. *%======== Orientation ========
  141. *Feature: Orientation
  142. {
  143.     *rcNameID: =ORIENTATION_DISPLAY
  144.     *DefaultOption: PORTRAIT
  145.     *Option: PORTRAIT
  146.     {
  147.         *rcNameID: =PORTRAIT_DISPLAY
  148.     }
  149.     *Option: LANDSCAPE_CC90
  150.     {
  151.         *rcNameID: =LANDSCAPE_DISPLAY
  152.     }
  153. }
  154.  
  155. *%======== InputBin ========
  156. *Macros: CmdStrings_InputBin
  157. {
  158.     PRECMD_INPUTBIN_PORT: "<1B>&l0O"
  159.     PRECMD_INPUTBIN_LAND: "<1B>&l1O"
  160. }
  161. *Feature: InputBin
  162. {
  163.     *rcNameID: =PAPER_SOURCE_DISPLAY
  164.     *DefaultOption: AUTO
  165.     *Option: AUTO
  166.     {
  167.         *rcNameID: 267          *%%% "Auto Select by Printer"
  168.         *switch: Orientation
  169.         {
  170.             *case: PORTRAIT
  171.             {
  172.                 *Command: CmdSelect
  173.                 {
  174.                     *Order: DOC_SETUP.30
  175.                     *NoPageEject?: TRUE
  176.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l7H"
  177.                 }
  178.             }
  179.             *case: LANDSCAPE_CC90
  180.             {
  181.                 *Command: CmdSelect
  182.                 {
  183.                     *Order: DOC_SETUP.30
  184.                     *NoPageEject?: TRUE
  185.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l7H"
  186.                 }
  187.             }
  188.         }
  189.     }
  190.     *Option: BypassTray
  191.     {
  192.         *rcNameID: 272          *%%% "Bypass Tray"
  193.         *OptionID: 4            *%%% DMBIN_MANUAL
  194.         *switch: Orientation
  195.         {
  196.             *case: PORTRAIT
  197.             {
  198.                 *Command: CmdSelect
  199.                 {
  200.                     *Order: DOC_SETUP.30
  201.                     *NoPageEject?: TRUE
  202.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l2H"
  203.                 }
  204.             }
  205.             *case: LANDSCAPE_CC90
  206.             {
  207.                 *Command: CmdSelect
  208.                 {
  209.                     *Order: DOC_SETUP.30
  210.                     *NoPageEject?: TRUE
  211.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l2H"
  212.                 }
  213.             }
  214.         }
  215.     }
  216.     *Option: LARGECAPACITY
  217.     {
  218.         *rcNameID: 379          *%%% "Large Capacity Tray"
  219.         *Installable?: TRUE
  220.         *rcInstallableFeatureNameID: 379
  221.         *switch: Orientation
  222.         {
  223.             *case: PORTRAIT
  224.             {
  225.                 *Command: CmdSelect
  226.                 {
  227.                     *Order: DOC_SETUP.30
  228.                     *NoPageEject?: TRUE
  229.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l5H"
  230.                 }
  231.             }
  232.             *case: LANDSCAPE_CC90
  233.             {
  234.                 *Command: CmdSelect
  235.                 {
  236.                     *Order: DOC_SETUP.30
  237.                     *NoPageEject?: TRUE
  238.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l5H"
  239.                 }
  240.             }
  241.         }
  242.     }
  243.     *Option: Tray1
  244.     {
  245.         *rcNameID: 268          *%%% "Tray 1"
  246.         *OptionID: 1            *%%% DMBIN_UPPER
  247.         *switch: Orientation
  248.         {
  249.             *case: PORTRAIT
  250.             {
  251.                 *Command: CmdSelect
  252.                 {
  253.                     *Order: DOC_SETUP.30
  254.                     *NoPageEject?: TRUE
  255.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l8H"
  256.                 }
  257.             }
  258.             *case: LANDSCAPE_CC90
  259.             {
  260.                 *Command: CmdSelect
  261.                 {
  262.                     *Order: DOC_SETUP.30
  263.                     *NoPageEject?: TRUE
  264.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l8H"
  265.                 }
  266.             }
  267.         }
  268.     }
  269.     *Option: Tray2
  270.     {
  271.         *rcNameID: 269          *%%% "Tray 2"
  272.         *OptionID: 3            *%%% DMBIN_MIDDLE
  273.         *switch: Orientation
  274.         {
  275.             *case: PORTRAIT
  276.             {
  277.                 *Command: CmdSelect
  278.                 {
  279.                     *Order: DOC_SETUP.30
  280.                     *NoPageEject?: TRUE
  281.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l1H"
  282.                 }
  283.             }
  284.             *case: LANDSCAPE_CC90
  285.             {
  286.                 *Command: CmdSelect
  287.                 {
  288.                     *Order: DOC_SETUP.30
  289.                     *NoPageEject?: TRUE
  290.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l1H"
  291.                 }
  292.             }
  293.         }
  294.     }
  295.     *Option: Tray3
  296.     {
  297.         *rcNameID: 270          *%%% "Tray 3"
  298.         *OptionID: 2            *%%% DMBIN_LOWER
  299.         *Installable?: TRUE
  300.         *rcInstallableFeatureNameID: 270
  301.         *switch: Orientation
  302.         {
  303.             *case: PORTRAIT
  304.             {
  305.                 *Command: CmdSelect
  306.                 {
  307.                     *Order: DOC_SETUP.30
  308.                     *NoPageEject?: TRUE
  309.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l4H"
  310.                 }
  311.             }
  312.             *case: LANDSCAPE_CC90
  313.             {
  314.                 *Command: CmdSelect
  315.                 {
  316.                     *Order: DOC_SETUP.30
  317.                     *NoPageEject?: TRUE
  318.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l4H"
  319.                 }
  320.             }
  321.         }
  322.     }
  323.     *Option: Tray4
  324.     {
  325.         *rcNameID: 271          *%%% "Tray 4"
  326.         *OptionID: 257          *%%% vendor unique
  327.         *Installable?: TRUE
  328.         *rcInstallableFeatureNameID: 271
  329.         *switch: Orientation
  330.         {
  331.             *case: PORTRAIT
  332.             {
  333.                 *Command: CmdSelect
  334.                 {
  335.                     *Order: DOC_SETUP.30
  336.                     *NoPageEject?: TRUE
  337.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l30H"
  338.                 }
  339.             }
  340.             *case: LANDSCAPE_CC90
  341.             {
  342.                 *Command: CmdSelect
  343.                 {
  344.                     *Order: DOC_SETUP.30
  345.                     *NoPageEject?: TRUE
  346.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l30H"
  347.                 }
  348.             }
  349.         }
  350.     }
  351. }
  352.  
  353. *%======== MediaType ========
  354. *Feature: MediaType
  355. {
  356.     *rcNameID: =MEDIA_TYPE_DISPLAY
  357.     *DefaultOption: STANDARD
  358.     *Option: STANDARD
  359.     {
  360.         *rcNameID: =PLAIN_PAPER_DISPLAY
  361.         *Command: CmdSelect
  362.         {
  363.             *Order: JOB_SETUP.80
  364.             *Cmd: "@PJL SET FUSERCONTROL=PLAINPAPER<0A>"
  365.         }
  366.     }
  367.     *Option: TRANSPARENCY
  368.     {
  369.         *rcNameID: =TRANSPARENCY_DISPLAY
  370.         *Command: CmdSelect
  371.         {
  372.             *Order: JOB_SETUP.80
  373.             *Cmd: "@PJL SET FUSERCONTROL=TRANSPARENCY<0A>"
  374.         }
  375.     }
  376.     *Option: ThickPaper         *%%% custom option
  377.     {
  378.         *rcNameID: 378          *%%% "Thick Paper"
  379.         *Command: CmdSelect
  380.         {
  381.             *Order: JOB_SETUP.80
  382.             *Cmd: "@PJL SET FUSERCONTROL=THICK<0A>"
  383.         }
  384.     }
  385. }
  386. *InvalidCombination: LIST(InputBin.AUTO, MediaType.ThickPaper)
  387. *InvalidCombination: LIST(InputBin.AUTO, MediaType.TRANSPARENCY)
  388. *InvalidCombination: LIST(InputBin.LARGECAPACITY, MediaType.ThickPaper)
  389. *InvalidCombination: LIST(InputBin.LARGECAPACITY, MediaType.TRANSPARENCY)
  390. *InvalidCombination: LIST(InputBin.Tray1, MediaType.ThickPaper)
  391. *InvalidCombination: LIST(InputBin.Tray1, MediaType.TRANSPARENCY)
  392. *InvalidCombination: LIST(InputBin.Tray2, MediaType.ThickPaper)
  393. *InvalidCombination: LIST(InputBin.Tray2, MediaType.TRANSPARENCY)
  394. *InvalidCombination: LIST(InputBin.Tray3, MediaType.ThickPaper)
  395. *InvalidCombination: LIST(InputBin.Tray3, MediaType.TRANSPARENCY)
  396. *InvalidCombination: LIST(InputBin.Tray4, MediaType.ThickPaper)
  397. *InvalidCombination: LIST(InputBin.Tray4, MediaType.TRANSPARENCY)
  398.  
  399. *%======== Resolution ========
  400. *Feature: Resolution
  401. {
  402.     *rcNameID: =RESOLUTION_DISPLAY
  403.     *DefaultOption: 600dpi
  404.     *Option: 600dpi
  405.     {
  406.         *rcNameID: 395          *%%% "600 dpi"
  407.         *DPI: PAIR(600, 600)
  408.         *TextDPI: PAIR(600, 600)
  409.         *MinStripBlankPixels: 32
  410.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  411.         *SpotDiameter: 100
  412.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  413.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  414.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  415.         *Command: CmdSelect
  416.         {
  417.             *Order: JOB_SETUP.90
  418.             *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A1B>E<1B>*t600R"
  419.         }
  420.     }
  421.     *Option: 300dpi
  422.     {
  423.         *rcNameID: 396          *%%% "300 dpi"
  424.         *DPI: PAIR(300, 300)
  425.         *TextDPI: PAIR(300, 300)
  426.         *MinStripBlankPixels: 32
  427.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  428.         *SpotDiameter: 100
  429.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  430.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  431.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  432.         *Command: CmdSelect
  433.         {
  434.             *Order: JOB_SETUP.90
  435.             *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A1B>E<1B>*t300R"
  436.         }
  437.     }
  438. }
  439.  
  440. *%======== PaperSize ========
  441. *Feature: PaperSize
  442. {
  443.     *rcNameID: =PAPER_SIZE_DISPLAY
  444.     *DefaultOption: LETTER
  445.     *Option: 11X17
  446.     {
  447.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  448.         *switch: Orientation
  449.         {
  450.             *case: PORTRAIT
  451.             {
  452.                 *PrintableArea: PAIR(12600, 19800)
  453.                 *PrintableOrigin: PAIR(300, 300)
  454.                 *CursorOrigin: PAIR(300, 200)
  455.                 *Command: CmdSelect
  456.                 {
  457.                     *Order: DOC_SETUP.40
  458.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y"
  459.                 }
  460.             }
  461.             *case: LANDSCAPE_CC90
  462.             {
  463.                 *PrintableArea: PAIR(12600, 19800)
  464.                 *PrintableOrigin: PAIR(300, 300)
  465.                 *CursorOrigin: PAIR(200, 20100)
  466.                 *Command: CmdSelect
  467.                 {
  468.                     *Order: DOC_SETUP.40
  469.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11880x7680Y"
  470.                 }
  471.             }
  472.         }
  473.     }
  474.     *Option: LETTER
  475.     {
  476.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  477.         *switch: Orientation
  478.         {
  479.             *case: PORTRAIT
  480.             {
  481.                 *PrintableArea: PAIR(9600, 12648)
  482.                 *PrintableOrigin: PAIR(300, 300)
  483.                 *CursorOrigin: PAIR(300, 180)
  484.                 *Command: CmdSelect
  485.                 {
  486.                     *Order: DOC_SETUP.40
  487.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
  488.                 }
  489.             }
  490.             *case: LANDSCAPE_CC90
  491.             {
  492.                 *PrintableArea: PAIR(9760, 12688)
  493.                 *PrintableOrigin: PAIR(200, 272)
  494.                 *CursorOrigin: PAIR(200, 12960)
  495.                 *Command: CmdSelect
  496.                 {
  497.                     *Order: DOC_SETUP.40
  498.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  499.                 }
  500.             }
  501.         }
  502.     }
  503.     *Option: LEGAL
  504.     {
  505.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  506.         *switch: Orientation
  507.         {
  508.             *case: PORTRAIT
  509.             {
  510.                 *PrintableArea: PAIR(9600, 16248)
  511.                 *PrintableOrigin: PAIR(300, 300)
  512.                 *CursorOrigin: PAIR(300, 180)
  513.                 *Command: CmdSelect
  514.                 {
  515.                     *Order: DOC_SETUP.40
  516.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  517.                 }
  518.             }
  519.             *case: LANDSCAPE_CC90
  520.             {
  521.                 *PrintableArea: PAIR(9760, 16284)
  522.                 *PrintableOrigin: PAIR(200, 276)
  523.                 *CursorOrigin: PAIR(200, 16560)
  524.                 *Command: CmdSelect
  525.                 {
  526.                     *Order: DOC_SETUP.40
  527.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  528.                 }
  529.             }
  530.         }
  531.     }
  532.     *Option: EXECUTIVE
  533.     {
  534.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  535.         *switch: Orientation
  536.         {
  537.             *case: PORTRAIT
  538.             {
  539.                 *PrintableArea: PAIR(8100, 12048)
  540.                 *PrintableOrigin: PAIR(300, 300)
  541.                 *CursorOrigin: PAIR(300, 180)
  542.                 *Command: CmdSelect
  543.                 {
  544.                     *Order: DOC_SETUP.40
  545.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
  546.                 }
  547.             }
  548.             *case: LANDSCAPE_CC90
  549.             {
  550.                 *PrintableArea: PAIR(8220, 12080)
  551.                 *PrintableOrigin: PAIR(240, 280)
  552.                 *CursorOrigin: PAIR(200, 12360)
  553.                 *Command: CmdSelect
  554.                 {
  555.                     *Order: DOC_SETUP.40
  556.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  557.                 }
  558.             }
  559.         }
  560.     }
  561.     *Option: STATEMENT
  562.     {
  563.         *rcNameID: 394          *%%% "5.5x8.5"
  564.         *switch: Orientation
  565.         {
  566.             *case: PORTRAIT
  567.             {
  568.                 *PrintableArea: PAIR(6000, 9600)
  569. *%                *PrintableOrigin: PAIR(300, 300)
  570.                 *PrintableOrigin: PAIR(300, 240)
  571.                 *CursorOrigin: PAIR(300, 180)
  572.                 *Command: CmdSelect
  573.                 {
  574.                     *Order: DOC_SETUP.40
  575.                     *Cmd: "<1B>&l2008a8c1E<1B>*p0x0Y<1B>*c0t3618x5778Y"
  576.                 }
  577.             }
  578.             *case: LANDSCAPE_CC90
  579.             {
  580.                 *PrintableArea: PAIR(6000, 9600)
  581. *%                *PrintableOrigin: PAIR(300, 300)
  582. *%                *CursorOrigin: PAIR(200, 9900)
  583.                 *PrintableOrigin: PAIR(300, 400)
  584.                 *CursorOrigin: PAIR(200, 10090)
  585.                 *Command: CmdSelect
  586.                 {
  587.                     *Order: DOC_SETUP.40
  588.                     *Cmd: "<1B>&l2008a8c1E<1B>*p0x0Y<1B>*c0t5778x3618Y"
  589.                 }
  590.             }
  591.         }
  592.     }
  593.     *Option: A3
  594.     {
  595.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  596.         *switch: Orientation
  597.         {
  598.             *case: PORTRAIT
  599.             {
  600.                 *PrintableArea: PAIR(13428, 19308)
  601.                 *PrintableOrigin: PAIR(300, 300)
  602.                 *CursorOrigin: PAIR(300, 180)
  603.                 *Command: CmdSelect
  604.                 {
  605.                     *Order: DOC_SETUP.40
  606.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8057x11693Y"
  607.                 }
  608.             }
  609.             *case: LANDSCAPE_CC90
  610.             {
  611.                 *PrintableArea: PAIR(13588, 19368)
  612.                 *PrintableOrigin: PAIR(200, 240)
  613.                 *CursorOrigin: PAIR(200, 19608)
  614.                 *Command: CmdSelect
  615.                 {
  616.                     *Order: DOC_SETUP.40
  617.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11621x8177Y"
  618.                 }
  619.             }
  620.         }
  621.     }
  622.     *Option: A4
  623.     {
  624.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  625.         *switch: Orientation
  626.         {
  627.             *case: PORTRAIT
  628.             {
  629.                 *PrintableArea: PAIR(9292, 13476)
  630.                 *PrintableOrigin: PAIR(300, 300)
  631.                 *CursorOrigin: PAIR(300, 180)
  632.                 *Command: CmdSelect
  633.                 {
  634.                     *Order: DOC_SETUP.40
  635.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
  636.                 }
  637.             }
  638.             *case: LANDSCAPE_CC90
  639.             {
  640.                 *PrintableArea: PAIR(9464, 13516)
  641.                 *PrintableOrigin: PAIR(220, 272)
  642.                 *CursorOrigin: PAIR(200, 13788)
  643.                 *Command: CmdSelect
  644.                 {
  645.                     *Order: DOC_SETUP.40
  646.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
  647.                 }
  648.             }
  649.         }
  650.     }
  651.     *Option: A5
  652.     {
  653.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  654.         *switch: Orientation
  655.         {
  656.             *case: PORTRAIT
  657.             {
  658.                 *PrintableArea: PAIR(6416, 9420)
  659. *%                *PrintableOrigin: PAIR(300, 300)
  660.                 *PrintableOrigin: PAIR(300, 220)
  661.                 *CursorOrigin: PAIR(300, 180)
  662.                 *Command: CmdSelect
  663.                 {
  664.                     *Order: DOC_SETUP.40
  665.                     *Cmd: "<1B>&l2000a8c1E<1B>*p0x0Y<1B>*c0t3868x5670Y"
  666.                 }
  667.             }
  668.             *case: LANDSCAPE_CC90
  669.             {
  670.                 *PrintableArea: PAIR(6416, 9420)
  671. *%                *PrintableOrigin: PAIR(280, 204)
  672. *%                *CursorOrigin: PAIR(200, 9624)
  673.                 *PrintableOrigin: PAIR(280, 360)
  674.                 *CursorOrigin: PAIR(200, 9800)
  675.                 *Command: CmdSelect
  676.                 {
  677.                     *Order: DOC_SETUP.40
  678.                     *Cmd: "<1B>&l2000a8c1E<1B>*p0x0Y<1B>*c0t5670x3868Y"
  679.                 }
  680.             }
  681.         }
  682.     }
  683.     *Option: A6
  684.     {
  685.         *rcNameID: 259          *%%% "A6"
  686.         *PageDimensions: PAIR(4956, 6996)
  687.         *switch: Orientation
  688.         {
  689.             *case: PORTRAIT
  690.             {
  691.                 *PrintableArea: PAIR(4360, 6416)
  692.                 *PrintableOrigin: PAIR(300, 300)
  693.                 *CursorOrigin: PAIR(300, 180)
  694.                 *Command: CmdSelect
  695.                 {
  696.                     *Order: DOC_SETUP.40
  697.                     *Cmd: "<1B>&l2001a8c1E<1B>*p0x0Y<1B>*c0t2634x3868Y"
  698.                 }
  699.             }
  700.             *case: LANDSCAPE_CC90
  701.             {
  702.                 *PrintableArea: PAIR(4360, 6416)
  703.                 *PrintableOrigin: PAIR(296, 280)
  704.                 *CursorOrigin: PAIR(200, 6696)
  705.                 *Command: CmdSelect
  706.                 {
  707.                     *Order: DOC_SETUP.40
  708.                     *Cmd: "<1B>&l2001a8c1E<1B>*p0x0Y<1B>*c0t3868x2634Y"
  709.                 }
  710.             }
  711.         }
  712.     }
  713.     *Option: B4
  714.     {
  715.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  716.         *switch: Orientation
  717.         {
  718.             *case: PORTRAIT
  719.             {
  720.                 *PrintableArea: PAIR(11544, 16656)
  721.                 *PrintableOrigin: PAIR(300, 300)
  722.                 *CursorOrigin: PAIR(300, 180)
  723.                 *Command: CmdSelect
  724.                 {
  725.                     *Order: DOC_SETUP.40
  726.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t6926x10102Y"
  727.                 }
  728.             }
  729.             *case: LANDSCAPE_CC90
  730.             {
  731.                 *PrintableArea: PAIR(11704, 16716)
  732.                 *PrintableOrigin: PAIR(200, 240)
  733.                 *CursorOrigin: PAIR(200, 16956)
  734.                 *Command: CmdSelect
  735.                 {
  736.                     *Order: DOC_SETUP.40
  737.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t10030x7046Y"
  738.                 }
  739.             }
  740.         }
  741.     }
  742.     *Option: B5
  743.     {
  744.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  745.         *switch: Orientation
  746.         {
  747.             *case: PORTRAIT
  748.             {
  749.                 *PrintableArea: PAIR(8004, 11604)
  750.                 *PrintableOrigin: PAIR(300, 300)
  751.                 *CursorOrigin: PAIR(300, 180)
  752.                 *Command: CmdSelect
  753.                 {
  754.                     *Order: DOC_SETUP.40
  755.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4802x7070Y"
  756.                 }
  757.             }
  758.             *case: LANDSCAPE_CC90
  759.             {
  760.                 *PrintableArea: PAIR(8144, 11664)
  761.                 *PrintableOrigin: PAIR(220, 240)
  762.                 *CursorOrigin: PAIR(200, 11904)
  763.                 *Command: CmdSelect
  764.                 {
  765.                     *Order: DOC_SETUP.40
  766.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t6998x4922Y"
  767.                 }
  768.             }
  769.         }
  770.     }
  771.     *Option: GovernmentLegal
  772.     {
  773.         *rcNameID: 393          *%%% "8x13"
  774.         *PageDimensions: PAIR(9600, 15600)
  775.         *switch: Orientation
  776.         {
  777.             *case: PORTRAIT
  778.             {
  779.                 *PrintableArea: PAIR(9000, 15000)
  780.                 *PrintableOrigin: PAIR(300, 300)
  781.                 *CursorOrigin: PAIR(300, 180)
  782.                 *Command: CmdSelect
  783.                 {
  784.                     *Order: DOC_SETUP.40
  785.                     *Cmd: "<1B>&l2011a8c1E<1B>*p0x0Y<1B>*c0t5418x9018Y"
  786.                 }
  787.             }
  788.             *case: LANDSCAPE_CC90
  789.             {
  790.                 *PrintableArea: PAIR(9000, 15000)
  791.                 *PrintableOrigin: PAIR(300, 300)
  792.                 *CursorOrigin: PAIR(200, 15300)
  793.                 *Command: CmdSelect
  794.                 {
  795.                     *Order: DOC_SETUP.40
  796.                     *Cmd: "<1B>&l2011a8c1E<1B>*p0x0Y<1B>*c0t9018x5418Y"
  797.                 }
  798.             }
  799.         }
  800.     }
  801.     *Option: Foolscap
  802.     {
  803.         *rcNameID: 392          *%%% "8.25x13"
  804.         *PageDimensions: PAIR(9900, 15600)
  805.         *switch: Orientation
  806.         {
  807.             *case: PORTRAIT
  808.             {
  809.                 *PrintableArea: PAIR(9300, 15000)
  810.                 *PrintableOrigin: PAIR(300, 300)
  811.                 *CursorOrigin: PAIR(300, 180)
  812.                 *Command: CmdSelect
  813.                 {
  814.                     *Order: DOC_SETUP.40
  815.                     *Cmd: "<1B>&l2012a8c1E<1B>*p0x0Y<1B>*c0t5598x9018Y"
  816.                 }
  817.             }
  818.             *case: LANDSCAPE_CC90
  819.             {
  820.                 *PrintableArea: PAIR(9300, 15000)
  821.                 *PrintableOrigin: PAIR(300, 300)
  822.                 *CursorOrigin: PAIR(200, 15300)
  823.                 *Command: CmdSelect
  824.                 {
  825.                     *Order: DOC_SETUP.40
  826.                     *Cmd: "<1B>&l2012a8c1E<1B>*p0x0Y<1B>*c0t9018x5598Y"
  827.                 }
  828.             }
  829.         }
  830.     }
  831.     *Option: FOLIO
  832.     {
  833.         *rcNameID: 391          *%%% "8.5x13"
  834.         *switch: Orientation
  835.         {
  836.             *case: PORTRAIT
  837.             {
  838.                 *PrintableArea: PAIR(9600, 15000)
  839.                 *PrintableOrigin: PAIR(300, 300)
  840.                 *CursorOrigin: PAIR(300, 180)
  841.                 *Command: CmdSelect
  842.                 {
  843.                     *Order: DOC_SETUP.40
  844.                     *Cmd: "<1B>&l2007a8c1E<1B>*p0x0Y<1B>*c0t5760x9018Y"
  845.                 }
  846.             }
  847.             *case: LANDSCAPE_CC90
  848.             {
  849.                 *PrintableArea: PAIR(9600, 15000)
  850.                 *PrintableOrigin: PAIR(300, 300)
  851.                 *CursorOrigin: PAIR(200, 15300)
  852.                 *Command: CmdSelect
  853.                 {
  854.                     *Order: DOC_SETUP.40
  855.                     *Cmd: "<1B>&l2007a8c1E<1B>*p0x0Y<1B>*c0t9018x5880Y"
  856.                 }
  857.             }
  858.         }
  859.     }
  860. }
  861. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.11X17)
  862. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.LEGAL)
  863. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.EXECUTIVE)
  864. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.STATEMENT)
  865. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.A3)
  866. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.A5)
  867. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.A6)
  868. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.B4)
  869. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.B5)
  870. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.GovernmentLegal)
  871. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.Foolscap)
  872. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.FOLIO)
  873. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.EXECUTIVE)
  874. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.A6)
  875. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.EXECUTIVE)
  876. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.A6)
  877. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.EXECUTIVE)
  878. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.A6)
  879. *InvalidCombination: LIST(InputBin.Tray4, PaperSize.EXECUTIVE)
  880. *InvalidCombination: LIST(InputBin.Tray4, PaperSize.A6)
  881.  
  882. *%======== OutputBin ========
  883. *Feature: OutputBin
  884. {
  885.     *rcNameID: =OUTPUTBIN_DISPLAY
  886.     *DefaultOption: PrinterDefault
  887.     *Option: PrinterDefault
  888.     {
  889.         *rcNameID: 291          *%%% "Printer Default"
  890.         *Command: CmdSelect
  891.         {
  892.             *Order: JOB_SETUP.40
  893.             *Cmd: ""
  894.         }
  895.     }
  896.     *Option: InnerTray1
  897.     {
  898.         *rcNameID: 355          *%%% "Inner Tray 1"
  899.         *Command: CmdSelect
  900.         {
  901.             *Order: JOB_SETUP.40
  902.             *Cmd: "@PJL SET OUTBIN=UPPER<0A>"
  903.         }
  904.     }
  905.     *Option: InnerTray2
  906.     {
  907.         *rcNameID: 356          *%%% "Inner Tray 2"
  908.         *Command: CmdSelect
  909.         {
  910.             *Order: JOB_SETUP.40
  911.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN11<0A>"
  912.         }
  913.     }
  914.     *Option: ExternalTray
  915.     {
  916.         *rcNameID: 279          *%%% "External Tray"
  917.         *Command: CmdSelect
  918.         {
  919.             *Order: JOB_SETUP.40
  920.             *Cmd: "@PJL SET OUTBIN=LOWER<0A>"
  921.         }
  922.     }
  923.     *Option: FinisherProofTray
  924.     {
  925.         *rcNameID: 357          *%%% "Finisher Proof Tray"
  926.         *Command: CmdSelect
  927.         {
  928.             *Order: JOB_SETUP.40
  929.             *Cmd: "@PJL SET OUTBIN=LOWER<0A>"
  930.         }
  931.     }
  932.     *Option: FinisherShiftTray
  933.     {
  934.         *rcNameID: 358          *%%% "Finisher Shift Tray"
  935.         *Command: CmdSelect
  936.         {
  937.             *Order: JOB_SETUP.40
  938.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN12<0A>"
  939.         }
  940.     }
  941.     *Option: MailboxProofTray
  942.     {
  943.         *rcNameID: 359          *%%% "Mailbox Proof Tray"
  944.         *Command: CmdSelect
  945.         {
  946.             *Order: JOB_SETUP.40
  947.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN1<0A>"
  948.         }
  949.     }
  950.     *Option: OutputBin1
  951.     {
  952.         *rcNameID: 360          *%%% "Mailbox Tray 1"
  953.         *Command: CmdSelect
  954.         {
  955.             *Order: JOB_SETUP.40
  956.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN2<0A>"
  957.         }
  958.     }
  959.     *Option: OutputBin2
  960.     {
  961.         *rcNameID: 361          *%%% "Mailbox Tray 2"
  962.         *Command: CmdSelect
  963.         {
  964.             *Order: JOB_SETUP.40
  965.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN3<0A>"
  966.         }
  967.     }
  968.     *Option: OutputBin3
  969.     {
  970.         *rcNameID: 362          *%%% "Mailbox Tray 3"
  971.         *Command: CmdSelect
  972.         {
  973.             *Order: JOB_SETUP.40
  974.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN4<0A>"
  975.         }
  976.     }
  977.     *Option: OutputBin4
  978.     {
  979.         *rcNameID: 363          *%%% "Mailbox Tray 4"
  980.         *Command: CmdSelect
  981.         {
  982.             *Order: JOB_SETUP.40
  983.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN5<0A>"
  984.         }
  985.     }
  986.     *Option: OutputBin5
  987.     {
  988.         *rcNameID: 364          *%%% "Mailbox Tray 5"
  989.         *Command: CmdSelect
  990.         {
  991.             *Order: JOB_SETUP.40
  992.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN6<0A>"
  993.         }
  994.     }
  995.     *Option: OutputBin6
  996.     {
  997.         *rcNameID: 365          *%%% "Mailbox Tray 6"
  998.         *Command: CmdSelect
  999.         {
  1000.             *Order: JOB_SETUP.40
  1001.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN7<0A>"
  1002.         }
  1003.     }
  1004.     *Option: OutputBin7
  1005.     {
  1006.         *rcNameID: 366          *%%% "Mailbox Tray 7"
  1007.         *Command: CmdSelect
  1008.         {
  1009.             *Order: JOB_SETUP.40
  1010.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN8<0A>"
  1011.         }
  1012.     }
  1013.     *Option: OutputBin8
  1014.     {
  1015.         *rcNameID: 367          *%%% "Mailbox Tray 8"
  1016.         *Command: CmdSelect
  1017.         {
  1018.             *Order: JOB_SETUP.40
  1019.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN9<0A>"
  1020.         }
  1021.     }
  1022.     *Option: OutputBin9
  1023.     {
  1024.         *rcNameID: 368          *%%% "Mailbox Tray 9"
  1025.         *Command: CmdSelect
  1026.         {
  1027.             *Order: JOB_SETUP.40
  1028.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN10<0A>"
  1029.         }
  1030.     }
  1031. }
  1032.  
  1033. *%======== Collate ========
  1034. *Feature: Collate
  1035. {
  1036.     *Name: "Collated"       *%%% This string isn't used in UI.
  1037.     *DefaultOption: OFF
  1038.     *Option: ON
  1039.     {
  1040.         *rcNameID: =ON_DISPLAY
  1041.         *switch: Finisher
  1042.         {
  1043.             *case: NotInstalled
  1044.             {
  1045.                 *Command: CmdSelect
  1046.                 {
  1047.                     *Order: JOB_SETUP.50
  1048.                     *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>@PJL SET JOBOFFSET=ROTATE<0A>"
  1049.                 }
  1050.             }
  1051.             *default:
  1052.             {
  1053.                 *Command: CmdSelect
  1054.                 {
  1055.                     *Order: JOB_SETUP.50
  1056.                     *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>@PJL SET JOBOFFSET=SHIFT<0A>"
  1057.                 }
  1058.             }
  1059.         }
  1060.     }
  1061.     *Option: OFF
  1062.     {
  1063.         *rcNameID: =OFF_DISPLAY
  1064.         *Command: CmdSelect
  1065.         {
  1066.             *Order: JOB_SETUP.50
  1067.             *Cmd: "@PJL SET JOBOFFSET=OFF<0A>"
  1068.         }
  1069.     }
  1070. }
  1071.  
  1072. *%======== Stapling ========
  1073. *Macros: CmdStrings_Stapling
  1074. {
  1075.     PRECMD_STAPLE: "@PJL SET QTY=" %d{NumOfCopies}"<0A>@PJL SET OUTBIN=OPTIONALOUTPUTBIN12<0A>@PJL SET JOBOFFSET=OFF<0A>"
  1076. }
  1077. *Feature: Stapling
  1078. {
  1079.     *rcNameID: 369              *%%% "Staple"
  1080.     *DefaultOption: OFF
  1081.     *Option: OFF
  1082.     {
  1083.         *rcNameID: =OFF_DISPLAY
  1084.         *Command: CmdSelect
  1085.         {
  1086.             *Order: JOB_SETUP.60
  1087.             *Cmd: "@PJL SET STAPLE=OFF<0A>"
  1088.         }
  1089.     }
  1090.     *Option: TopLeftSlant
  1091.     {
  1092.         *rcNameID: 370          *%%% "Top Left Slant"
  1093.         *switch: Orientation
  1094.         {
  1095.             *case: PORTRAIT
  1096.             {
  1097.                 *Command: CmdSelect
  1098.                 {
  1099.                     *Order: JOB_SETUP.60
  1100.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPSLANTPORT<0A>"
  1101.                 }
  1102.             }
  1103.             *case: LANDSCAPE_CC90
  1104.             {
  1105.                 *Command: CmdSelect
  1106.                 {
  1107.                     *Order: JOB_SETUP.60
  1108.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPSLANTLAND<0A>"
  1109.                 }
  1110.             }
  1111.         }
  1112.     }
  1113.     *Option: TopLeftHorizontal
  1114.     {
  1115.         *rcNameID: 372          *%%% "Top Left Horizontal"
  1116.         *switch: Orientation
  1117.         {
  1118.             *case: PORTRAIT
  1119.             {
  1120.                 *Command: CmdSelect
  1121.                 {
  1122.                     *Order: JOB_SETUP.60
  1123.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPHORIZPORT<0A>"
  1124.                 }
  1125.             }
  1126.             *case: LANDSCAPE_CC90
  1127.             {
  1128.                 *Command: CmdSelect
  1129.                 {
  1130.                     *Order: JOB_SETUP.60
  1131.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPHORIZLAND<0A>"
  1132.                 }
  1133.             }
  1134.         }
  1135.     }
  1136.     *Option: TopLeftVertical
  1137.     {
  1138.         *rcNameID: 371          *%%% "Top Left Vertical"
  1139.         *switch: Orientation
  1140.         {
  1141.             *case: PORTRAIT
  1142.             {
  1143.                 *Command: CmdSelect
  1144.                 {
  1145.                     *Order: JOB_SETUP.60
  1146.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPVERTPORT<0A>"
  1147.                 }
  1148.             }
  1149.             *case: LANDSCAPE_CC90
  1150.             {
  1151.                 *Command: CmdSelect
  1152.                 {
  1153.                     *Order: JOB_SETUP.60
  1154.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPVERTLAND<0A>"
  1155.                 }
  1156.             }
  1157.         }
  1158.     }
  1159.     *Option: Top2
  1160.     {
  1161.         *rcNameID: 373          *%%% "Top 2"
  1162.         *switch: Orientation
  1163.         {
  1164.             *case: PORTRAIT
  1165.             {
  1166.                 *Command: CmdSelect
  1167.                 {
  1168.                     *Order: JOB_SETUP.60
  1169.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=TOP2PORT<0A>"
  1170.                 }
  1171.             }
  1172.             *case: LANDSCAPE_CC90
  1173.             {
  1174.                 *Command: CmdSelect
  1175.                 {
  1176.                     *Order: JOB_SETUP.60
  1177.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=TOP2LAND<0A>"
  1178.                 }
  1179.             }
  1180.         }
  1181.     }
  1182.     *Option: Left2
  1183.     {
  1184.         *rcNameID: 374          *%%% "Left 2"
  1185.         *switch: Orientation
  1186.         {
  1187.             *case: PORTRAIT
  1188.             {
  1189.                 *Command: CmdSelect
  1190.                 {
  1191.                     *Order: JOB_SETUP.60
  1192.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFT2PORT<0A>"
  1193.                 }
  1194.             }
  1195.             *case: LANDSCAPE_CC90
  1196.             {
  1197.                 *Command: CmdSelect
  1198.                 {
  1199.                     *Order: JOB_SETUP.60
  1200.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFT2LAND<0A>"
  1201.                 }
  1202.             }
  1203.         }
  1204.     }
  1205. }
  1206. *InvalidCombination: LIST(InputBin.BypassTray, Stapling.TopLeftSlant)
  1207. *InvalidCombination: LIST(InputBin.BypassTray, Stapling.TopLeftVertical)
  1208. *InvalidCombination: LIST(InputBin.BypassTray, Stapling.TopLeftHorizontal)
  1209. *InvalidCombination: LIST(InputBin.BypassTray, Stapling.Top2)
  1210. *InvalidCombination: LIST(InputBin.BypassTray, Stapling.Left2)
  1211.  
  1212. *%======== Punching (custom feature) ========
  1213. *Macros: CmdStrings_Punching
  1214. {
  1215.     PRECMD_PUNCH: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN12<0A>"
  1216. }
  1217. *Feature: Punching
  1218. {
  1219.     *rcNameID: 375          *%%% "Punch"
  1220.     *FeatureType: DOC_PROPERTY
  1221.     *DefaultOption: OFF
  1222.     *Option: OFF
  1223.     {
  1224.         *rcNameID: =OFF_DISPLAY
  1225.         *Command: CmdSelect
  1226.         {
  1227.             *Order: JOB_SETUP.70
  1228.             *Cmd: "@PJL SET PUNCH=OFF<0A>"
  1229.         }
  1230.     }
  1231.     *Option: Left
  1232.     {
  1233.         *rcNameID: 376          *%%% "Left"
  1234.         *switch: Orientation
  1235.         {
  1236.             *case: PORTRAIT
  1237.             {
  1238.                 *Command: CmdSelect
  1239.                 {
  1240.                     *Order: JOB_SETUP.70
  1241.                     *Cmd: =PRECMD_PUNCH "@PJL SET PUNCH=LEFTPORT<0A>"
  1242.                 }
  1243.             }
  1244.             *case: LANDSCAPE_CC90
  1245.             {
  1246.                 *Command: CmdSelect
  1247.                 {
  1248.                     *Order: JOB_SETUP.70
  1249.                     *Cmd: =PRECMD_PUNCH "@PJL SET PUNCH=LEFTLAND<0A>"
  1250.                 }
  1251.             }
  1252.         }
  1253.     }
  1254.     *Option: Top
  1255.     {
  1256.         *rcNameID: 377          *%%% "Top"
  1257.         *switch: Orientation
  1258.         {
  1259.             *case: PORTRAIT
  1260.             {
  1261.                 *Command: CmdSelect
  1262.                 {
  1263.                     *Order: JOB_SETUP.70
  1264.                     *Cmd: =PRECMD_PUNCH "@PJL SET PUNCH=TOPPORT<0A>"
  1265.                 }
  1266.             }
  1267.             *case: LANDSCAPE_CC90
  1268.             {
  1269.                 *Command: CmdSelect
  1270.                 {
  1271.                     *Order: JOB_SETUP.70
  1272.                     *Cmd: =PRECMD_PUNCH "@PJL SET PUNCH=TOPLAND<0A>"
  1273.                 }
  1274.             }
  1275.         }
  1276.     }
  1277. }
  1278. *InvalidCombination: LIST(InputBin.BypassTray, Punching.Left)
  1279. *InvalidCombination: LIST(InputBin.BypassTray, Punching.Top)
  1280.  
  1281. *%======== Duplex ========
  1282. *Feature: Duplex
  1283. {
  1284.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1285.     *DefaultOption: NONE
  1286.     *Option: NONE
  1287.     {
  1288.         *rcNameID: =NONE_DISPLAY
  1289.         *Command: CmdSelect
  1290.         {
  1291.             *Order: DOC_SETUP.20
  1292.             *Cmd: "<1B>&l0S"
  1293.         }
  1294.     }
  1295.     *Option: VERTICAL
  1296.     {
  1297.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1298.         *Command: CmdSelect
  1299.         {
  1300.             *Order: DOC_SETUP.20
  1301.             *Cmd: "<1B>&l1S"
  1302.         }
  1303.     }
  1304.     *Option: HORIZONTAL
  1305.     {
  1306.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1307.         *Command: CmdSelect
  1308.         {
  1309.             *Order: DOC_SETUP.20
  1310.             *Cmd: "<1B>&l2S"
  1311.         }
  1312.     }
  1313. }
  1314. *InvalidCombination: LIST(InputBin.BypassTray, Duplex.VERTICAL)
  1315. *InvalidCombination: LIST(InputBin.BypassTray, Duplex.HORIZONTAL)
  1316.  
  1317. *%======== PrintQuality ========
  1318. *Feature: PrintQuality
  1319. {
  1320.     *rcNameID: =TEXT_QUALITY_DISPLAY
  1321.     *DefaultOption: SmoothingOn
  1322.     *Option: SmoothingOff
  1323.     {
  1324.         *rcNameID: 306          *%%% "Edge Smoothing - Off"
  1325.         *Command: CmdSelect
  1326.         {
  1327.             *Order: JOB_SETUP.20
  1328.             *Cmd: "@PJL SET SMOOTHING=OFF<0A>"
  1329.         }
  1330.     }
  1331.     *Option: SmoothingOn
  1332.     {
  1333.         *rcNameID: 305          *%%% "Edge Smoothing - On"
  1334.         *Command: CmdSelect
  1335.         {
  1336.             *Order: JOB_SETUP.20
  1337.             *Cmd: "@PJL SET SMOOTHING=ON<0A>"
  1338.         }
  1339.     }
  1340. }
  1341.  
  1342. *%======== PrintDensity ========
  1343. *Feature: PrintDensity
  1344. {
  1345.     *rcNameID: =PRINTDENSITY_DISPLAY
  1346.     *DefaultOption: EconomodeOff
  1347.     *Option: EconomodeOff
  1348.     {
  1349.         *rcNameID: 322          *%%% "Toner Saver - Off"
  1350.         *Command: CmdSelect
  1351.         {
  1352.             *Order: JOB_SETUP.30
  1353.             *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  1354.         }
  1355.     }
  1356.     *Option: EconomodeOn
  1357.     {
  1358.         *rcNameID: 323          *%%% "Toner Saver - On"
  1359.         *Command: CmdSelect
  1360.         {
  1361.             *Order: JOB_SETUP.30
  1362.             *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  1363.         }
  1364.     }
  1365. }
  1366.  
  1367. *%======== Halftone ========
  1368. *Feature: Halftone
  1369. {
  1370.     *rcNameID: =HALFTONING_DISPLAY
  1371.     *DefaultOption: HT_PATSIZE_AUTO
  1372.     *Option: HT_PATSIZE_AUTO
  1373.     {
  1374.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1375.     }
  1376.     *Option: HT_PATSIZE_6x6_M
  1377.     {
  1378.         *rcNameID: =HT_DITHER6X6_DISPLAY
  1379.     }
  1380.     *Option: HT_PATSIZE_8x8_M
  1381.     {
  1382.         *rcNameID: =HT_DITHER8X8_DISPLAY
  1383.     }
  1384.     *Option: HT_PATSIZE_10x10_M
  1385.     {
  1386.         *rcNameID: 397          *%%% "Dither 10x10"
  1387.     }
  1388. }
  1389.  
  1390. *%======== StartJob ========
  1391. *switch: InputBin
  1392. {
  1393.     *case: AUTO
  1394.     {
  1395.         *Command: CmdStartJob
  1396.         {
  1397.             *Order: JOB_SETUP.10
  1398.             *Cmd: "<1B>%%-12345X@PJL SET AUTOTRAYCHANGE=ON<0A>"
  1399.         }
  1400.     }
  1401.     *default:
  1402.     {
  1403.         *Command: CmdStartJob
  1404.         {
  1405.             *Order: JOB_SETUP.10
  1406.             *Cmd: "<1B>%%-12345X@PJL SET AUTOTRAYCHANGE=OFF<0A>"
  1407.         }
  1408.     }
  1409. }
  1410.  
  1411. *%======== StartDoc ========
  1412. *Command: CmdStartDoc
  1413. {
  1414.     *Order: DOC_SETUP.10
  1415.     *Cmd: "<1B>&u600D<1B>*r0F"
  1416. }
  1417.  
  1418. *%======== StartPage ========
  1419. *Command: CmdStartPage
  1420. {
  1421.     *Order: PAGE_SETUP.10
  1422.     *Cmd: "<1B>*b0M<0D>"
  1423. }
  1424.  
  1425. *%======== EndJob ========
  1426. *Command: CmdEndJob
  1427. {
  1428.     *Order: JOB_FINISH.10
  1429.     *Cmd: "<1B>E<1B>%%-12345X"
  1430. }
  1431.  
  1432. *%======== Copies ========
  1433. *switch: Collate
  1434. {
  1435.     *case: OFF
  1436.     {
  1437.         *switch: Stapling
  1438.         {
  1439.             *case: OFF
  1440.             {
  1441.                 *Command: CmdCopies
  1442.                 {
  1443.                     *Order: DOC_SETUP.50
  1444.                     *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1445.                 }
  1446.             }
  1447.             *default:
  1448.             {
  1449.                 *Command: CmdCopies
  1450.                 {
  1451.                     *Order: DOC_SETUP.50
  1452.                     *Cmd: "<1B>&l1X"
  1453.                 }
  1454.             }
  1455.         }
  1456.     }
  1457.     *case: ON
  1458.     {
  1459.         *Command: CmdCopies
  1460.         {
  1461.             *Order: DOC_SETUP.50
  1462.             *Cmd: "<1B>&l1X"
  1463.         }
  1464.     }
  1465. }
  1466.  
  1467. *%======== Capabilities ========
  1468. *RotateCoordinate?: TRUE
  1469. *RotateRaster?: TRUE
  1470. *RotateFont?: TRUE
  1471. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  1472. *MemoryUsage: LIST(FONT)
  1473.  
  1474. *%======== Cursor Control ========
  1475. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1476. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1477. *XMoveThreshold: 0
  1478. *YMoveThreshold: 0
  1479. *XMoveUnit: 600
  1480. *YMoveUnit: 600
  1481. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2)}"X" }
  1482. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2))}"X" }
  1483. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2))}"X" }
  1484. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2)}"Y" }
  1485. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2)}"Y" }
  1486. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2)}"Y" }
  1487. *Command: CmdCR { *Cmd : "<0D>" }
  1488. *Command: CmdLF { *Cmd : "<0A>" }
  1489. *Command: CmdFF { *Cmd : "<0C>" }
  1490. *Command: CmdBackSpace { *Cmd : "<08>" }
  1491. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1492. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1493. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1494. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1495. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  1496. *EjectPageWithFF?: TRUE
  1497.  
  1498. *%======== Raster Data ========
  1499. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1500. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1501. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1502. *OutputDataFormat: H_BYTE
  1503. *OptimizeLeftBound?: TRUE
  1504. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1505. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1506.  
  1507. *%======== Font ========
  1508. *DefaultFont: =RC_FONT_COURIERR
  1509. *DeviceFonts: =ALL_DEVICEFONTS
  1510. *DefaultCTT: 0
  1511. *CharPosition: BASELINE
  1512. *TTFSEnabled?: TRUE
  1513. *MinFontID: 16534
  1514. *MaxFontID: 32768
  1515. *switch: Resolution
  1516. {
  1517.     *case: 600dpi
  1518.     {
  1519.         *FontFormat: HPPCL_OUTLINE
  1520.     }
  1521.     *case: 300dpi
  1522.     {
  1523.         *FontFormat: HPPCL_RES
  1524.     }
  1525. }
  1526. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1527. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1528. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1529. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1530. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1531. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  1532. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  1533.  
  1534. *%======== RectFill ========
  1535. *MinGrayFill: 1
  1536. *MaxGrayFill: 100
  1537. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2)}"A" }
  1538. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2)}"B" }
  1539. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  1540. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1541.  
  1542. *Ifdef: WINNT_51
  1543. *Personality: =PERSONALITY_HPGL2
  1544. *%======== HP-GL/2 Graphics Mode ========
  1545. *Feature: GraphicsMode
  1546. {
  1547.     *rcNameID: =GRAPHICSMODE_DISPLAY
  1548.     *DefaultOption: HPGL2MODE
  1549.     *Option: HPGL2MODE
  1550.     {
  1551.         *rcNameID: =GRAPHICSMODE_HPGL2_DISPLAY
  1552.     }
  1553.     *Option: RASTERMODE
  1554.     {
  1555.         *rcNameID: =GRAPHICSMODE_RASTER_DISPLAY
  1556.     }
  1557. }
  1558. *Endif:
  1559.